<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router';
</script>

<template>
  <nav>
    <RouterLink to="/">Home</RouterLink>
    <RouterLink to="/about">About</RouterLink>
    <RouterLink to="/login">登陆</RouterLink>
    <RouterLink to="/memberAdd">会员增加</RouterLink>
    <RouterLink to="/memberList">会员列表</RouterLink>
  </nav>

  <RouterView />
</template>

<style scoped>
a {
  margin: 0 10px;
}
</style>
